//
//  BLTimeAxis+Dynamic.h
//  BLTimeAxis
//
//  Created by dg on 2025/4/18.
//

#import "BLTimeAxis.h"

NS_ASSUME_NONNULL_BEGIN

/**
 物理引擎模拟减速效果分类
 */

@interface BLTimeAxis (Dynamic)

@property (nonatomic, strong) UIDynamicAnimator *animator;
@property (nonatomic, strong) UIDynamicItemBehavior *inertialBehavior;
/// 手动停止滚动减速
- (void)manuallyStopRollingWithDeceleratingExtraUpdate:(void(^)(void))extraUpdate;
/// 模拟减速动画
- (void)deceleratingAnimateWithVelocityPoint:(CGPoint)velocityPoint action:(void(^)(CGPoint deceleratingSpeedPoint, BOOL stop))action;

@end

NS_ASSUME_NONNULL_END
